<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        a{
            text-decoration: none;
            color: #333;
        }
        .sprite{
            display: inline-block;
            background-image: url(./images/music_sprite_02.png);
        }
        .sprite_icon_music{
            width: 14px;
            height: 11px;
            background-position: 0 -24px;
        }
        .sprite_icon_play{
            width: 16px;
            height: 17px;
            background-position: 0 0;
        }
        /* ---------- 布局 ---------- */
        .item{
            width: 140px;
            margin: 100px auto;
        }
        .item .top{
            /* 参考点 */
            position: relative;
        }
        .item .top .vip{
            width: 40px;
            height: 40px;
            background-image: url(./images/icon2.png);
            background-position: -135px -220px;
            position: absolute;
            top: 0;
            left: 0;
        }
        .item .top img{
            width: 100%;
            display: block;
        }
        .item .top .cover{
            position: absolute;
            /* width: 140px;
            height: 140px;
            top: 0;
            left: 0; */

            top: 0;
            left: 0;
            right: 0;
            bottom: 0;

            background-image: url(./images/music_sprite_01.png);
            background-position: 0 0;
        }
        .item .top .info{
            /* position: absolute;  此时也可以充当参考点 */
            position: absolute;  
            bottom: 0;
            right: 0;
            left: 0;
            height: 27px;
            line-height: 27px;
            padding-left: 10px;
            /* background-color: gold;  */
            font-size: 12px;
            color: #ccc;;
            background-image: url(./images/music_sprite_01.png);
            background-position: 0 -537px;
        }
        .item .top .info .icon_music{

        }
        .item .top .info .icon_play{
            position: absolute;
            top: 0;
            bottom: 0;
            right: 10px;
            /* 垂直居中 */
            margin: auto 0;
        }
        .item .top .info .icon_play:hover{
            background-position: 0 -60px;
            cursor: pointer;
        }
        .item .top .info .count{
            margin-left: 3px;
        }
        .item .bottom{
            display: block;
            margin-top: 8px;
            font-size: 14px;
        }
        .item .bottom:hover{
            text-decoration: underline;
        }
    </style>
</head>
<body>
    <div class="item">
        <div class="top">
            <img src="./images/music01.jpg" alt="音乐封面">
            <i class="sprite vip"></i>
            <a class="cover" href="#"></a>
            <div class="info">
                <i class="sprite sprite_icon_music icon_music"></i>
                <span class="count">88万</span>
                <i class="sprite sprite_icon_play icon_play"></i>
            </div>
        </div>
        <a href="#" class="bottom">
            华语歌里的宇宙丨我们飞向太空
        </a>
    </div>
</body>
</html>